<!DOCTYPE html>
<html lang="zh_cn" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" th:href="@{/css/index.css}">
<!--    这个是用来设置浏览器访问的小图标的-->
    <link rel="icon" th:href="@{/image/1.png}" sizes="16x16">
    <script th:src="@{/js/index.js}"></script>
    <title>ME中心</title>
</head>
<body>
    <div id="index">
        <div ><h1>欢迎来到Me的零度空间<span id="time" ></span></h1>
            <div>
                <div sec:authorize="!isAuthenticated()">
                    <a th:href="@{/toLogin}" class="zhuxiao" >登录</a>
                </div>
                <div sec:authorize="isAuthenticated()">
                    <a th:href="@{/logout}" class="zhuxiao" >注销</a>
                </div>
            </div>
            <a th:href="@{/mail/mailView}" class="but" style="text-align: center;">发送邮件</a>
            <a th:href="@{/mail/mailView}" class="but" style="text-align: center;">发送带附件的邮件</a>
            <a href="" class="but" style="text-align: center;pointer-events: none;">待开发</a>
            <a href="" class="but" style="text-align: center;pointer-events: none;">待开发</a>
            <a href="" class="but" style="text-align: center;pointer-events: none;">待开发</a>
            <a href="" class="but" style="text-align: center;pointer-events: none;">待开发</a>
            <a href="" class="but" style="text-align: center;pointer-events: none;">...</a>
        </div>
    </div>
</body>
</html>